package com.lvmama.dashboard.dao.ssh;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.lvmama.dashboard.entity.ShellExec;

public interface IShellExecDao {
	public int insert(ShellExec shellExec);
	public int update(ShellExec shellExec);
	public ShellExec queryById(@Param("execId")int execId);
	public List<ShellExec> queryList(@Param("offset")int offset, @Param("limit")int limit);
	public List<ShellExec> queryListByShellName(@Param("shellName")String shellName, @Param("offset")int offset, @Param("limit")int limit);
}
